﻿@model Administracion.Controllers.EmpresasController.ValidarEmpresa
@{
    ViewBag.Title = "Agregar Empresa";
}


<form role="form" method="post" action="@Url.Action("Agregar", "Empresas")">

    <div class="col-xs-6 col-md-4">

        <h2>Datos Empresa</h2>
        <div class="form-group">
            <input type="text" class="form-control" name="Nombre" placeholder="Nombre" autofocus>
            @Html.ValidationMessageFor(x => x.Nombre, null, new { @class = "bg-danger" })
        </div>

        <div class="form-group">
            <input type="number" class="form-control" name="Codigo"  placeholder="Codigo">
            @Html.ValidationMessageFor(x => x.Codigo, null, new { @class = "bg-danger" })
        </div>

        
        <button type="submit" class="btn btn-success btn-xs">Agregar Empresa</button>
    </div>

</form>


